//@flow

import {genrateAction} from "../../util/common";

const namespace:string = 'userService';

export class UserServiceActionType {
    //登陆事件
    static  LOGIN : string = genrateAction(namespace,'LOGIN');
    //登陆成功
    static LOGIN_SUCCESS : string = genrateAction(namespace,'LOGIN_SUCCESS');
    //登陆失败
    static LOGIN_FAIL : string = genrateAction(namespace,'LOGIN_FAIL');
    //登陆中
    static LOGIN_DOING : string = genrateAction(namespace,'LOGIN_DOING');
    //注销
    static LOGOUT: string = genrateAction(namespace,'LOGOUT');
    // 更新信息
    static UPDATE_USER_INFO:string = genrateAction(namespace,'UPDATE_USER_INFO');
}
